package com.kara.woodAgent.web.user.model.vo;

import com.kara.woodAgent.web.user.domain.WgUser;
import lombok.Data;

/**
 * @author tzy
 * @version 1.0
 * @project wood_agent
 * @description
 * @date 2025/6/7 17:03:28
 */
@Data
public class LoginVo {


	private Long id;

	/**
	 *
	 */
	private String username;

	/**
	 *
	 */
	private String email;

	/**
	 *
	 */
	private String phone;

	/**
	 *
	 */
	private String nickname;

	/**
	 *
	 */
	private String avatar;


	public LoginVo(WgUser wgUser) {
		this.id = wgUser.getId();
		this.username = wgUser.getUsername();
		this.email = wgUser.getEmail();
		this.phone = wgUser.getPhone();
		this.nickname = wgUser.getNickname();
		this.avatar = wgUser.getAvatar();
	}
}
